package com.vito.test;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.vito.test.dao.QueryTestMapper;

@Service
public class QueryTestImpl implements QueryTest{

	@Autowired
	private QueryTestMapper  queryTestMapper;
	
	@Override
	public List<Map<String, Object>> queryTest() {
		long strat = System.currentTimeMillis();
		 List<Map<String, Object>> queryTest = queryTestMapper.queryTest();
		long end = System.currentTimeMillis();
		System.out.println(end - strat);
		return queryTest;
	}

}
